package com.polukeuro.app.client.jnsi;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;

public class Group extends JavaScriptObject {

	// Overlay types always have protected, zero-arg ctors
	protected Group() {
	}

	// Typically, methods on overlay types are JSNI
	public final native String getId() /*-{
		return this.id;
	}-*/;

	public final native String getName() /*-{
		return this.name;
	}-*/;

	// Return the whole JSON array, as is
	public final native JsArray<Team> getTeams() /*-{
		return this.teams;
	}-*/;
}
